package custcare

import "wave-admin/model"

type CusVisitorDetail struct {
	model.GnModel
	VisitorId uint64 `gorm:"default:0;unique:unx_visitor_id;not null;comment:访客id" json:"visitor_id"`
	Browser   string `gorm:"null;default:'';comment:浏览器" json:"browser"`
	Refer     string `gorm:"null;default:'';comment:来源" json:"refer"`
	Host      string `gorm:"null;default:'';comment:host" json:"host"`
	Visits    uint64 `gorm:"default:0;not null;comment:访问次数" json:"visits"`
	Name      string `gorm:"type:varchar(100);null;default:'';comment:姓名" json:"name"`
	Mobile    string `gorm:"type:varchar(12);null;default:'';comment:手机号码" json:"mobile"`
	Email     string `gorm:"type:varchar(50);null;default:'';comment:邮箱" json:"email"`
	QQ        string `gorm:"type:varchar(20);null;default:'';comment:QQ号码" json:"qq"`
	Wechat    string `gorm:"type:varchar(20);null;default:'';comment:微信号" json:"wechat"`
	Remark    string `gorm:"type:text;comment:备注" json:"remark"`
}
